//
//  SXHLocationHandler.h
//  ZLZKBaseUtils
//
//  Created by sxh on 2021/4/20.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

typedef void(^LocationBlock)(CLLocation * _Nonnull location, NSString * _Nullable address);

NS_ASSUME_NONNULL_BEGIN

@interface SXHLocationHandler : NSObject

+ (instancetype)shared;

- (void)startLocation:(LocationBlock)result;

@end

NS_ASSUME_NONNULL_END
